{% extends "base.html" %}
{% block content %}
<div style="margin: 0 auto;width: 400px;height: 400px;margin-top: 200px">
    <form action="{{ url_for("login") }}" method="post" name="login">
        {{ form.csrf_token }}
    <p>
        用户名:<br>
        {{ form.username(size=80) }}<br>
    </p>
    <p>
        密码:<br>
        {{ form.password(size=80) }}<br>
    </p>
    <p>
        <input type="checkbox" name="remember_me"/>Remember Me
    </p>
    <p><input type="submit" value="登陆"></p>
    </form>
    <a href="/registry">注册</a>
</div>

{% endblock %}